package com.example.fitnessservice.service;

import com.example.fitnessservice.module.pojo.*;

import java.util.List;

public interface BbsService {
    public List<UserDynamic> recommendDynamic();

    public UserDynamic dynamicContent(Integer dynamicId);

    public UserInfo findUserInfo(Integer userId);

    public List<UserDynamicFans> findAllFans(Integer userId);

    public List<UserDynamicAttention> findAllAttention(Integer userId);

    public int findFansNum(Integer userId);

    public int findAttentionNum(Integer userId);

    public boolean addAttention(UserDynamicAttention userDynamicAttention);

    public boolean deleteAttention(UserDynamicAttention userDynamicAttention);

    public List<UserDynamic> findDynamicByUserId(Integer userId);

    public boolean plusLike(Integer dynamicId);

    public boolean subtractLike(Integer dynamicId);

    public boolean addDynamicComment(UserDynamicComment userDynamicComment);

    public boolean deleteDynamicComment(UserDynamicComment userDynamicComment);

    public List<UserDynamicComment> findDynamicComment(Integer dynamicId);

    public List<UserDynamicReport> findReportContent();

    public boolean submitReport(Integer reportId,Integer dynamicId);

    public List<UserDynamic> findAttentionDynamic(Integer userId);

    public int dynamicIssue(UserDynamicContent userDynamicContent);

    public boolean deleteDynamic(Integer dynamicId);

    public boolean addUserInfo(UserInfo userInfo);

    public List<String> findAttentionDynamicImg(Integer userId);
}
